/**
 * Created by hjqi on 2016/3/28.
 */

var base = require('./mongodb');
var util = require('util');
var imageMetaInfo_collection_name = require('../lib/config/config').config.mongodb.imageMetaInfo_collection;

module.exports = ImageMetaInfoDB;

function ImageMetaInfoDB(){
    base.call(this,imageMetaInfo_collection_name);
}

util.inherits(ImageMetaInfoDB,base);

/*
 imageMetaInfo.schema
db.imageMetaInfo.findOne()
{
    "_id" : ObjectId("57bc0ade60dcd16a0cece6bb"),
    "commands" : "INIT_RUN_SHELL",
    "imageId" : "ubuntu",
    "namespace" : "library"
}*/
